#ifndef M_ROOMMANAGE_H
#define M_ROOMMANAGE_H

#include <QDialog>
#include <QSqlQueryModel>
#include <QSqlQuery>
#include <QMessageBox>

namespace Ui {
class m_roomManage;
}

class m_roomManage : public QDialog
{
    Q_OBJECT

public:
    explicit m_roomManage(QWidget *parent = nullptr);
    ~m_roomManage();
    void _querytable();

private slots:
    void on_BinsertBtn_clicked();

    void on_BdeleteBtn_clicked();

private:
    Ui::m_roomManage *ui;
    QSqlQueryModel model;
};

#endif // M_ROOMMANAGE_H
